package cn.wsalix.user.form;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.SimpleForm;

@Data
@EqualsAndHashCode(callSuper = false)
public class IssueForm extends SimpleForm {
	private String content;
	@NotNull
	private Long fkId;// 外键：产品ID等
	@NotNull
	private Long productId;// 外键：产品ID等
	@NotNull
	private Long presbyterId;
	public void setFkId(Long fkId) {
		this.fkId = fkId;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
		setFkId(productId);
	}
}
